%
%  =======================================================================
%  ····Y88b···d88P················888b·····d888·d8b·······················
%  ·····Y88b·d88P·················8888b···d8888·Y8P·······················
%  ······Y88o88P··················88888b·d88888···························
%  ·······Y888P··8888b···88888b···888Y88888P888·888·88888b·····d88b·······
%  ········888······"88b·888·"88b·888·Y888P·888·888·888·"88b·d88P"88b·····
%  ········888···d888888·888··888·888··Y8P··888·888·888··888·888··888·····
%  ········888··888··888·888··888·888···"···888·888·888··888·Y88b·888·····
%  ········888··"Y888888·888··888·888·······888·888·888··888··"Y88888·····
%  ·······························································888·····
%  ··························································Y8b·d88P·····
%  ···························································"Y88P"······
%  =======================================================================
% 
%  -----------------------------------------------------------------------
% Author       : 焱铭
% Date         : 2023-08-08 18:07:00 +0800
% LastEditTime : 2023-08-09 10:50:51 +0800
% Github       : https://github.com/YanMing-lxb/
% FilePath     : \YM-Beamer-Metropolis\beamercolorthemecustom.sty
% Description  : 设置Beamer的主题颜色
%  -----------------------------------------------------------------------
%

\mode<presentation>

\definecolor{pri}{HTML}{515E63}
\definecolor{sec}{HTML}{57837B}
\definecolor{ter}{HTML}{C9D8B6}
\definecolor{ale}{HTML}{DF2E2E}

\setbeamercolor{title}{fg=pri}
\setbeamercolor{title separator}{ fg=pri }
\setbeamercolor{author}{fg=sec}
\setbeamercolor{institute}{fg=sec}
\setbeamercolor{date}{fg=sec}

\setbeamercolor*{palette primary}{fg=white,bg=pri}
\setbeamercolor*{palette secondary}{fg=white,bg=sec}
\setbeamercolor*{palette tertiary}{fg=pri,bg=ter}

\setbeamercolor{alerted text}{fg=ale}
\setbeamercolor*{block title}{bg=pri!30!white}

\mode
<all>